package com.smx.service;

import com.smx.dao.UserDao;
import com.smx.model.entity.User;
import com.smx.model.vo.UserVo;

/**
 * @ClassName UserService
 * @Description TODO
 * @Author moses
 * @Date 2021/5/9
 **/
public class UserService {

    public static User findUser(User user) {
        return UserDao.findUser(user);
    }

    public static int updateUser(User user) {
        return UserDao.updateUser(user);
    }

    public static User findUserById(int id) {
        return UserDao.findUserById(id);
    }
}
